<?php
namespace Admin\Controller;
use Think\Controller;
class FeedbackController extends Controller
{
    public function index()
    {
        $this->display();
       
    }

    /*反馈信息*/
    public function feedbacklist(){
        $feedback = M('feedback');
        $feedbacklist = $feedback->order("fid asc")->field('fid,username,userphone,f_intro,f_time')->select();

        for($index=0;$index<count($feedbacklist);$index++)
        {
            $feedbacklist[$index]['number']=$index+1;
        }

        $this->assign('feedbacklist',$feedbacklist);
        $this->display();
    }

      
}